﻿<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        x:Class="TFSBuildMonitor.Presentation.Views.InputBox" 
        Title="Input" Height="190" Width="300" MinHeight="10" MinWidth="300" 
        ResizeMode="CanResizeWithGrip" 
        ShowInTaskbar="False" 
        WindowStartupLocation="CenterOwner" FocusManager.FocusedElement="{Binding ElementName=Value}">

    <StackPanel Margin="10,20,10,20" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
        <StackPanel Orientation="Vertical" Margin="0,10,0,10" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <ContentControl HorizontalAlignment="Left" Margin="0,2,0,2" Content="Enter new value here:" />
            <TextBox Name="Value" HorizontalAlignment="Stretch" Margin="0,2,0,2" />
        </StackPanel>
        <StackPanel Orientation="Horizontal" Margin="0,20,0,0" VerticalAlignment="Stretch" HorizontalAlignment="Center">
            <Button Name="okButton" IsDefault="True" Margin="0,0,5,0" Width="40" Height="20" HorizontalAlignment="Center" Click="okButton_Click">OK</Button>
            <Button Name="cancelButton" IsCancel="True" Margin="5,0,0,0" Width="40" Height="20" HorizontalAlignment="Center">Cancel</Button>
        </StackPanel>
    </StackPanel>

</Window>
